﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterSite.Master" AutoEventWireup="true"
    CodeBehind="Profile.aspx.cs" EnableEventValidation="false" Inherits="WebGui.User.Profile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content runat="server" ID="Content3" ContentPlaceHolderID="HeadLine">
    <h1>
        Profil</h1>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <h3>
        Opdater Info</h3>
    <asp:Label runat="server" ID="LblName" CssClass="label" AssociatedControlID="TxtNavn">Navn:</asp:Label>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="TxtNavn" ErrorMessage="*"></asp:RequiredFieldValidator>
    <br />
    <asp:TextBox ID="TxtNavn" runat="server" CssClass="fields"></asp:TextBox>
    <br />
    <asp:Label runat="server" ID="LblAdr" CssClass="label" AssociatedControlID="TxtAdr">Adresse:</asp:Label>
    <br />
    <asp:RequiredFieldValidator runat="server" ControlToValidate="TxtAdr" ErrorMessage="*"></asp:RequiredFieldValidator>
    <asp:TextBox ID="TxtAdr" runat="server" CssClass="fields_multilines" TextMode="MultiLine"></asp:TextBox>
    <br />
    <asp:Button ID="BtnProfileUpdate" runat="server" CssClass="buttons" OnClick="BtnProfileUpdate_Click"
        Text="Opdater profil" />
    <br />
    <br />
    <h3>
        Opdater kode</h3>
    <asp:Label runat="server" ID="LblOldPassword" CssClass="label" AssociatedControlID="TxtGammeltPW">Gammelt password:</asp:Label>
    <br />
    <asp:RequiredFieldValidator runat="server" ControlToValidate="TxtGammeltPW" ErrorMessage="*"></asp:RequiredFieldValidator>
    <asp:TextBox ID="TxtGammeltPW" runat="server" CssClass="fields" TextMode="Password"></asp:TextBox>
    <br />
    <asp:Label runat="server" ID="LblNewPassword" CssClass="label" AssociatedControlID="TxtNytPW">Nyt password:</asp:Label>
    <br />
    <asp:RequiredFieldValidator runat="server" ControlToValidate="TxtNytPW" ErrorMessage="*"></asp:RequiredFieldValidator>
    <asp:TextBox ID="TxtNytPW" runat="server" CssClass="fields" TextMode="Password"></asp:TextBox>
    <br />
    <asp:Label runat="server" ID="LblNewPassword2" CssClass="label" AssociatedControlID="TxtNytPW2">Bekr&aelig;ft nyt password:</asp:Label>
    <br />
    <asp:RequiredFieldValidator runat="server" ControlToValidate="TxtNytPW2" ErrorMessage="*"></asp:RequiredFieldValidator>
    <asp:TextBox ID="TxtNytPW2" runat="server" CssClass="fields" TextMode="Password"></asp:TextBox>
    <br />
    <asp:Button ID="BtnUpdatePW" runat="server" CssClass="buttons" OnClick="BtnUpdateUser_Click"
        Text="Opdater kode" />
    <br />
    <asp:Label ID="LblPWFail" runat="server"></asp:Label>
    <asp:Label ID="LblPWStatus" runat="server"></asp:Label>
</asp:Content>